<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <!-- 重置文件 -->
  <link rel="stylesheet" href="css/normalize.css">
  <link rel="stylesheet" href="css/style.css">
    <meta charset="UTF-8">
    <link href="js/component.css" rel="stylesheet">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
          crossorigin="anonymous">
    <script src="js/postJs.js" type="text/javascript"></script>
    <script type="text/javascript">
        function confirmLogin() {
            var cookie=document.cookie.split(";")[0].split("=")[0];
            if(cookie==null){
                window.location.href='../index.html';
            }
            else
                window.location.href='../login_index.html';
        }
    </script>
    <link rel="stylesheet" href="css/xialaliebiao.css">
    <script type="text/javascript" src="js/jquery1.min.js"></script>
    <script type="text/javascript" src="js/inputjs.js"></script>
    <link href="css/css1.css" type="text/css" rel="stylesheet">
    <script src="js/postJs.js" type="text/javascript"></script>
    <script src="js/postJs.js" type="text/javascript"></script>
  <title>注册</title>
    <style type="text/css">
        .container-1{
            margin-left: auto;
            margin-right: auto;
        }
    </style>
    <script type="text/javascript">
      function confirmLogin1() {
        var cookie=getCookie('userId');
        if(cookie==""){
          window.location.href='../index.html';
        }
        else
          window.location.href='../login_index.html';
      }
      function getCookie(c_name)
      {
        if (document.cookie.length>0)
        {
          c_start=document.cookie.indexOf(c_name + "=")
          if (c_start!=-1)
          {
            c_start=c_start + c_name.length+1
            c_end=document.cookie.indexOf(";",c_start)
            if (c_end==-1) c_end=document.cookie.length
            return unescape(document.cookie.substring(c_start,c_end))
          }
        }
        return ""
      }
    </script>
</head>
<body>
<div class="container-1" style="width: 1200px;">
<div class="navbar navbar-default" id="bs-example-navbar-collapse-1" style="height: 60px;clear: both">
    <img class="navbar-brand" id="img"  src="../images/REALM1253AO.png" style="height: 80px;margin-left: 0px;margin-top: 8px;" onclick="confirmLogin1()">

    <style type="text/css">
        #img {
            position: absolute;
            top: -20px;
            left: 100px;
            height: 100px;

        }

    </style>
    <ul class="nav navbar-nav list-inline text-right" id="linka" style="margin-left:50%" >
        <li><a href="../PingtaiJieshao.html">平台介绍 <span class="sr-only">(current)</span></a></li> 
        <li><a href="../HowUse.html">如何使用 <span class="sr-only">(current)</span></a></li>
        <li><a href="#" onclick="dogo()">客服服务<span class="sr-only">(current)</span></a></li>
        <script type="text/javascript">
            function dogo(){
                var urls = new Array();
                urls[0] = "tencent://message/?uin=1298751988;Site=http://localhost:63342/GongYeHuaPingTaiQianDuan/%E4%B8%BB%E9%A1%B5/index.html;menu=yes";
                urls[1] = "tencent://message/?uin=你的QQ号码;Site=你的网址;menu=yes";
                n = Math.floor(Math.random()*2);
                location.href= urls[n];
            };
        </script>
        <!-- 联系我们-->
        <li><a href="../ContactUs.html" class="md-trigger btn" data-modal="modal-4">联系我们<span class="sr-only">(current)</span></a>
        </li>
        <li><a href="../login_index.html">返回主页<span class="sr-only">(current)</span></a></li>
    </ul>
</div>
  <div class="reg_div">
    <p>注册</p>
    <ul class="reg_ul">
      <li>
          <span>个人真实姓名：</span>
          <input type="text" id="user_name" value="" placeholder="0-8位用户名" class="reg_user" onchange="changeUserName()">
          <span class="tip text_hint" style="width: auto" id="user_name1">(必填)</span>
      </li>
      <li>
          <span>密码：</span>
          <input type="password" id="password" value="" placeholder="8位密码" class="reg_password">
          <span class="tip text_hint" style="width: auto">(必填8位)</span>
      </li>
      <li>
          <span>确认密码：</span>
          <input type="password" id="cof" value="" placeholder="确认密码" class="reg_confirm">
          <span class="tip text_hint" style="width: auto">(必填)</span>
      </li>
      <li>
            <span>手机号码：</span>
            <input type="text" id="mobile" value="" placeholder="手机号码"  onchange="changeMobile()">
          <span class="tip text_hint" style="width: auto" id="mobile1">(必填)</span>
      </li>
      <li>
          <span>邮箱：</span>
          <input type="text" id="email" value="" placeholder="邮箱" class="reg_email" onchange="changeEmail()">
          <span class="tip text_hint" style="width: auto" id="email1">(必填)</span>
      </li>
        <li>
            <span>昵称：</span>
            <input type="text" id="nick" value="" placeholder="昵称">
            <span class="tip text_hint" style="width: auto">(必填)</span>
        </li>
        <li>
            <span>邀请码：</span>
            <input type="text" id="invate_code" value="" placeholder="邀请码（选填）">
            <span class="tip text_hint" style="width: auto">(选填)</span>
        </li>
        <li>
            <span>注册形式：</span>
            <form>
                <select id="type" style="">
                    <option value="1">企业</option>
                    <option value="0">个人</option>
                </select>
            </form>
        </li>
        <li>
            我已阅读并同意相关<a style="color:black;" href="../XUKEXIEXI.html">服务条款和隐私政策</a>
        </li>
      <li>
          <button type="button" name="button"onclick="onClickAjax()" style="left: 30%;top: 90%;" class="red_button">注册</button>
          <button type="button" name="button" style="left: 60%;top: 90%;" onclick="javascript:window.location.href='../index.html'" class="red_button">登录</button>
        </li>
    </ul>
  </div>
  
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script type="text/javascript" src="js/script.js"></script>
</div>
</body>
</html>
